package com.itheima.pojo;

import java.io.Serializable;

public class DrugLibrary implements Serializable {
    private Integer id;
    private String drugname;
    private String dosage;
    private String impact;

    public DrugLibrary(Integer id, String drugname, String dosage, String impact) {
        this.id = id;
        this.drugname = drugname;
        this.dosage = dosage;
        this.impact = impact;
    }

    public DrugLibrary() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDrugname() {
        return drugname;
    }

    public void setDrugname(String drugname) {
        this.drugname = drugname;
    }

    public String getDosage() {
        return dosage;
    }

    public void setDosage(String dosage) {
        this.dosage = dosage;
    }

    public String getImpact() {
        return impact;
    }

    public void setImpact(String impact) {
        this.impact = impact;
    }
}
